#ifndef __LOGIN_H__
#define __LOGIN_H__

char *getUser_type(int user_type);
void print_user(user_Node_p headNode);
void print_admin(user_Node_p headNode);

void enroll(user_Node_p headNode);
int getUserIndex_ByUserName(user_Node_p headNode, char *username);
user_p scanf_enroll(user_Node_p headNode);
int login(user_Node_p headNode);
int verify(user_Node_p headNode, char *username, char *password);
user_Node_p find_userNode(user_Node_p headNode, char *username);
#endif